package cn.anquing.mapper;

import cn.anquing.datasource.DataSource;
import cn.anquing.model.City;

public interface CityMapper {
    int deleteByPrimaryKey(Long id);

    @DataSource("dataSource2")
    int insert(City record);

    int insertSelective(City record);

    @DataSource("dataSource1")
    City selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);

    @DataSource("dataSource2")
    City selectByPrimaryKey2(Long id);
}